// document.writeln("  <!-- Modal -->");
// document.writeln("  <div class=\'modal fade\' id=\'mymodal\' tabindex=\'-1\' role=\'dialog\' aria-hidden=\'true\'>");
// document.writeln("    <div class=\'modal-dialog ms-modal-dialog-width\'>");
// document.writeln("      <div class=\'modal-content ms-modal-content-width\'>");
// document.writeln("        <div class=\'modal-header  ms-modal-header-radius-0\'>");
// document.writeln("          <h4 class=\'modal-title text-white\'>预约</h4>");
// document.writeln("          <button type=\'button\' class=\'close text-white\' data-dismiss=\'modal\' aria-hidden=\'true\'>x</button>");
// document.writeln("");
// document.writeln("        </div>");
// document.writeln("        <div class=\'modal-body p-0 text-left\'>");
// document.writeln("          <div class=\'col-xl-12 col-md-12\'>");
// document.writeln("            <div class=\'ms-panel ms-panel-bshadow-none\'>");
// document.writeln("              <div class=\'ms-panel-header\'>");
// document.writeln("                <h6>病人信息</h6>");
// document.writeln("              </div>");
// document.writeln("              <div class=\'ms-panel-body\'>");
// document.writeln("                <form class=\'needs-validation\' novalidate>");
// document.writeln("                  <div class=\'form-row\'>");
// document.writeln("                    <div class=\'col-md-4 mb-3\'>");
// document.writeln("                      <label for=\'validationCustom01\'>病人姓名</label>");
// document.writeln("                      <div class=\'input-group\'>");
// document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom01\' placeholder=\'输入名字\' required>");
// document.writeln("");
// document.writeln("                      </div>");
// document.writeln("                    </div>");
// document.writeln("                    <div class=\'col-md-4 mb-3\'>");
// document.writeln("                      <label for=\'validationCustom02\'>出生日期</label>");
// document.writeln("                      <div class=\'input-group\'>");
// document.writeln("                        <input type=\'number\' class=\'form-control\' id=\'validationCustom02\' required>");
// document.writeln("");
// document.writeln("                      </div>");
// document.writeln("                    </div>");
// document.writeln("                    <div class=\'col-md-4 mb-3\'>");
// document.writeln("                      <label for=\'validationCustom03\'>疾病</label>");
// document.writeln("                      <div class=\'input-group\'>");
// document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom03\' placeholder=\'疾病\' required>");
// document.writeln("");
// document.writeln("                      </div>");
// document.writeln("                    </div>");
// document.writeln("                  </div>");
// document.writeln("                  <div class=\'form-row\'>");
// document.writeln("                    <div class=\'col-md-4 mb-2\'>");
// document.writeln("                      <label for=\'validationCustom04\'>地址</label>");
// document.writeln("                      <div class=\'input-group\'>");
// document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom04\' placeholder=\'添加地址\' required>");
// document.writeln("");
// document.writeln("                      </div>");
// document.writeln("                    </div>");
// document.writeln("                    <div class=\'col-md-4 mb-3\'>");
// document.writeln("                      <label for=\'validationCustom05\'>固定电话号码</label>");
// document.writeln("                      <div class=\'input-group\'>");
// document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom05\' placeholder=\'输入手机号\' required>");
// document.writeln("");
// document.writeln("                      </div>");
// document.writeln("");
// document.writeln("                    </div>");
// document.writeln("");
// document.writeln("                    <div class=\'col-md-4 mb-3\'>");
// document.writeln("                      <label for=\'validationCustom06\'>部门名称</label>");
// document.writeln("                      <div class=\'input-group\'>");
// document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom06\' placeholder=\'输入部门名称\' required>");
// document.writeln("");
// document.writeln("                      </div>");
// document.writeln("                    </div>");
// document.writeln("                  </div>");
// document.writeln("");
// document.writeln("");
// document.writeln("");
// document.writeln("                  <div class=\'form-row\'>");
// document.writeln("                    <div class=\'col-md-4 mb-3\'>");
// document.writeln("                      <label for=\'validationCustom07\'>预约医生</label>");
// document.writeln("                      <div class=\'input-group\'>");
// document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom07\' placeholder=\'输入医生名称\' required>");
// document.writeln("");
// document.writeln("                      </div>");
// document.writeln("                    </div>");
// document.writeln("                    <div class=\'col-md-4 mb-3\'>");
// document.writeln("                      <label for=\'validationCustom08\'>预约日期</label>");
// document.writeln("                      <div class=\'input-group\'>");
// document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom08\' placeholder=\'输入预约日期\' required>");
// document.writeln("");
// document.writeln("                      </div>");
// document.writeln("                    </div>");
// document.writeln("                    <div class=\'col-md-4 mb-3\'>");
// document.writeln("                      <label>性别</label>");
// document.writeln("                      <ul class=\'ms-list d-flex\'>");
// document.writeln("                        <li class=\'ms-list-item pl-0\'>");
// document.writeln("                          <label class=\'ms-checkbox-wrap\'>");
// document.writeln("                            <input type=\'radio\' name=\'radioExample\' value=\'\'>");
// document.writeln("                            <i class=\'ms-checkbox-check\'></i>");
// document.writeln("                          </label>");
// document.writeln("                          <span> 男性 </span>");
// document.writeln("                        </li>");
// document.writeln("                        <li class=\'ms-list-item\'>");
// document.writeln("                          <label class=\'ms-checkbox-wrap\'>");
// document.writeln("                            <input type=\'radio\' name=\'radioExample\' value=\'\' checked=\'\'>");
// document.writeln("                            <i class=\'ms-checkbox-check\'></i>");
// document.writeln("                          </label>");
// document.writeln("                          <span> 女性 </span>");
// document.writeln("                        </li>");
// document.writeln("                      </ul>");
// document.writeln("                    </div>");
// document.writeln("                  </div>");
// document.writeln("                  <button class=\'btn btn-warning mt-4 d-inline w-20\' type=\'submit\'>重置</button>");
// document.writeln("                  <button class=\'btn btn-primary mt-4 d-inline w-20\' type=\'submit\'>添加预约</button>");
// document.writeln("                </form>");
// document.writeln("              </div>");
// document.writeln("");
// document.writeln("            </div>");
// document.writeln("          </div>");
// document.writeln("        </div>");
// document.writeln("");
// document.writeln("      </div>");
// document.writeln("    </div>");
// document.writeln("  </div>");
// document.writeln("");
// document.writeln("");
document.writeln("  <!-- Modal -->");
document.writeln("  <div class=\'modal fade\' id=\'prescription\' tabindex=\'-1\' role=\'dialog\' aria-hidden=\'true\'>");
document.writeln("    <div class=\'modal-dialog ms-modal-dialog-width\'>");
document.writeln("      <div class=\'modal-content ms-modal-content-width\'>");
document.writeln("        <div class=\'modal-header  ms-modal-header-radius-0\'>");
document.writeln("          <h4 class=\'modal-title text-white\'>治疗方案</h4>");
document.writeln("          <button type=\'button\' class=\'close  text-white\' data-dismiss=\'modal\' aria-hidden=\'true\'>x</button>");
document.writeln("");
document.writeln("        </div>");
document.writeln("        <div class=\'modal-body p-0 text-left\'>");
document.writeln("          <div class=\'col-xl-12 col-md-12\'>");
document.writeln("            <div class=\'ms-panel ms-panel-bshadow-none\'>");
document.writeln("              <div class=\'ms-panel-header\'>");
document.writeln("                <h6>病人信息</h6>");
document.writeln("              </div>");
document.writeln("              <div class=\'ms-panel-body\'>");
document.writeln("                <form class=\'needs-validation\' novalidate>");
document.writeln("                  <div class=\'form-row\'>");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom09\'>病人姓名</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom09\' placeholder=\'输入姓名\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom10\'>出生日期</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'number\' class=\'form-control\' id=\'validationCustom10\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("                    <div class=\'col-md-4 mb-2\'>");
document.writeln("                      <label for=\'validationCustom11\'>地址</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom11\' placeholder=\'添加地址\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("");
document.writeln("                  </div>");
document.writeln("                  <div class=\'form-row\'>");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom12\'>手机号码</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom12\' placeholder=\'输入手机号\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("");
document.writeln("                    </div>");
document.writeln("");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom13\'>药物</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom13\' placeholder=\'对乙酰氨基酚\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom14\'>治疗周期</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'number\' class=\'form-control\' id=\'validationCustom14\' placeholder=\'\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("                  </div>");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("                  <div class=\'form-row\'>");
document.writeln("");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom15\'>预约日期</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom15\' placeholder=\'输入日期\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("");
document.writeln("                  </div>");
document.writeln("                  <button class=\'btn btn-warning mt-4 d-inline w-20\' type=\'submit\'>保存处方</button>");
document.writeln("                  <button class=\'btn btn-primary mt-4 d-inline w-20\' type=\'submit\'>保存和打印</button>");
document.writeln("                </form>");
document.writeln("              </div>");
document.writeln("");
document.writeln("            </div>");
document.writeln("          </div>");
document.writeln("        </div>");
document.writeln("");
document.writeln("      </div>");
document.writeln("    </div>");
document.writeln("  </div>");
document.writeln("");
document.writeln("");
document.writeln("  <!-- Modal -->");
document.writeln("  <div class=\'modal fade\' id=\'report1\' tabindex=\'-1\' role=\'dialog\' aria-hidden=\'true\'>");
document.writeln("    <div class=\'modal-dialog ms-modal-dialog-width\'>");
document.writeln("      <div class=\'modal-content ms-modal-content-width\'>");
document.writeln("        <div class=\'modal-header  ms-modal-header-radius-0\'>");
document.writeln("          <h4 class=\'modal-title text-white\'>生成报告</h4>");
document.writeln("          <button type=\'button\' class=\'close  text-white\' data-dismiss=\'modal\' aria-hidden=\'true\'>x</button>");
document.writeln("");
document.writeln("        </div>");
document.writeln("        <div class=\'modal-body p-0 text-left\'>");
document.writeln("          <div class=\'col-xl-12 col-md-12\'>");
document.writeln("            <div class=\'ms-panel ms-panel-bshadow-none\'>");
document.writeln("              <div class=\'ms-panel-header\'>");
document.writeln("                <h6>患者信息</h6>");
document.writeln("              </div>");
document.writeln("              <div class=\'ms-panel-body\'>");
document.writeln("                <form class=\'needs-validation\' novalidate>");
document.writeln("                  <div class=\'form-row\'>");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom16\'>病人姓名</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom16\' placeholder=\'输入姓名\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom17\'>出生日期</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'number\' class=\'form-control\' id=\'validationCustom17\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("                    <div class=\'col-md-4 mb-2\'>");
document.writeln("                      <label for=\'validationCustom22\'>地址</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom22\' placeholder=\'添加地址\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("");
document.writeln("                  </div>");
document.writeln("                  <div class=\'form-row\'>");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom18\'>电话号码</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom18\' placeholder=\'输入手机号\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("");
document.writeln("                    </div>");
document.writeln("");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom19\'>报告类型</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom19\' placeholder=\'疾病报告\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom23\'>报告期间</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'number\' class=\'form-control\' id=\'validationCustom23\' placeholder=\'\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("                  </div>");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("                  <div class=\'form-row\'>");
document.writeln("");
document.writeln("                    <div class=\'col-md-4 mb-3\'>");
document.writeln("                      <label for=\'validationCustom20\'>预约日期</label>");
document.writeln("                      <div class=\'input-group\'>");
document.writeln("                        <input type=\'text\' class=\'form-control\' id=\'validationCustom20\' placeholder=\'输入日期\' required>");
document.writeln("");
document.writeln("                      </div>");
document.writeln("                    </div>");
document.writeln("");
document.writeln("                  </div>");
document.writeln("                  <button class=\'btn btn-warning mt-4 d-inline w-20\' type=\'submit\'>生成报告</button>");
document.writeln("                  <button class=\'btn btn-primary mt-4 d-inline w-20\' type=\'submit\'>生成和打印</button>");
document.writeln("                </form>");
document.writeln("              </div>");
document.writeln("");
document.writeln("            </div>");
document.writeln("          </div>");
document.writeln("        </div>");
document.writeln("");
document.writeln("      </div>");
document.writeln("    </div>");
document.writeln("  </div>");